.PHONY:all
all: exec mycmd myshell
mycmd:mycmd.c
		gcc -o $@ $^
exec:exec.c
		gcc -o $@ $^
myshell:myshell.c
		gcc -o $@ $^
.PHONY:clean
clean:
		rm -f exec mycmd myshell
